import type { RouteRecordRaw } from 'vue-router';

export const HOME_ROUTE: RouteRecordRaw = {
  path: '/',
  name: 'index',
  component: () => import('~/layout/IndexLayout/IndexLayout.vue'),
  redirect() {
    return '/index';
  },
  children: [
    {
      path: 'index',
      name: 'index_home',
      component: () => import('~/view/home/index.vue'),
    },
  ],
};
